package cn.snmp.mutual.data;

import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
/**
 * @author dengkn
 * 默认网元资源容器
 * */
public class DefaultNeObject implements ResObject{
	
	private HashMap<String, String> mOriginalValue =new HashMap<String, String>();
	@Override
	public boolean setPropertyOnlyOriginal(String propertyName, String value) {
		this.mOriginalValue.put(propertyName, value);
		return true;
	}
	
	@Override
	public boolean setProperty(String propertyName, String value) {
		this.mOriginalValue.put(propertyName, value);
		return true;
	}
	@Override
	public String getProperty(String propertyName) {
		return this.mOriginalValue.get(propertyName);
	}
	
	@Override
	public void writeExternal(ObjectOutput out) throws IOException {
		
		
	}

	@Override
	public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
		
		
	}


	@Override
	public ArrayList<String> getModifyKeys() {
		
		return null;
	}

	@Override
	public ArrayList<String> getCurrentModifyKeys() {
		
		return null;
	}

	@Override
	public String getOriginalProperty(String arg0) {
		
		return null;
	}

	@Override
	public String getDisplayProperty(String arg0) {
		
		return null;
	}

	@Override
	public String getModifyProperty(String arg0) {
		
		return null;
	}


	@Override
	public int getIntProperty(String arg0) {
		return 0;
	}

	@Override
	public double getDoubleProperty(String arg0) {
		return 0;
	}

	@Override
	public boolean getBooleanProperty(String arg0) {
		
		return false;
	}

	@Override
	public float getFloatProperty(String arg0) {
		return 0;
	}

	@Override
	public Date getDateProperty(String arg0) {
		return null;
	}



	@Override
	public boolean setProperty(String arg0, String arg1, String arg2) {
		
		return false;
	}

	@Override
	public boolean setProperty(String arg0, ResObject arg1) {
		
		return false;
	}

	@Override
	public void setDisplayProperty(String arg0, String arg1) {
		
		
	}

	@Override
	public String getResType() {
		
		return null;
	}

	@Override
	public void setResType(String arg0) {
		
		
	}

	@Override
	public String getResID() {
		
		return null;
	}

	@Override
	public void setResID(String arg0) {
		
		
	}

	@Override
	public String getName() {
		
		return null;
	}

	@Override
	public String getFullName() {
		
		return null;
	}

	@Override
	public ResObject clone() {
		
		return null;
	}

	@Override
	public ObjService toLogObjService() {
		
		return null;
	}

	@Override
	public void updateModify(boolean arg0) {
		
		
	}

	@Override
	public void setExtendProperty(String arg0, String arg1) {
		
		
	}

	@Override
	public String getExtendProperty(String arg0) {
		
		return null;
	}

	@Override
	public Iterator<String> getExtendKeys() {
		
		return null;
	}

	@Override
	public void clearModifykeys() {
		
	}

	@Override
	public void setTagObject(Serializable arg0) {
		
	}

	@Override
	public Serializable getTagObject() {
		return null;
	}

}
